package com.bw.finance.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.finance.conf.ResponseResult;
import com.bw.finance.eneity.locana.EbankLoanInfo;
import com.bw.finance.eneity.locana.res.Borrowinfo;
import com.bw.finance.eneity.user.EbankBorrower;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lizhengqian
 * @since 2020-08-18
 */
public interface IEbankLoanInfoService extends IService<EbankLoanInfo> {

    ResponseResult addloan(Borrowinfo borrowinfo);

    ResponseResult invlist(int pagenum, int pagesize, EbankLoanInfo ebankLoanInfo);

    ResponseResult updatestate(String id, int val);

    ResponseResult findone(int id);

    ResponseResult newlist(int pagenum, int pagesize, EbankLoanInfo ebankLoanInfo);

    ResponseResult findform(Long loanid);

    void updateloan(EbankLoanInfo loanInfo,Long id);

    ResponseResult getBorrowerList(int pagenum, int pagesizes,EbankBorrower ebankBorrower);

}
